Release 10.1A: OpenEdge Development:
Progress 4GL Reference
REPLACE-SELECTION-TEXT( ) method
Replaces the currently selected text in an editor widget with the new text.
Return type: LOGICAL Applies to: EDITOR widget
new-textA character-string expression that specifies the new text to replace the currently selected text.
To determine what text is currently selected, query the SELECTION-TEXT attribute. If the replace operation is successful, the method returns TRUE.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |